package org.altervista.cp.microkernel.test;

import org.altervista.cp.microkernel.KernelEngine;
import org.altervista.cp.microkernel.log.Log;

public class Main {

	static {
		System.setProperty("kernel.workingdir.path", ".");
	}

	private static final Log log = new Log(Main.class);

	public static void main(String[] args) {

		try {
			KernelEngine.Instance.startup();
			/*
			 * TestOffice to = KernelEngine.Instance
			 * .addComponent(TestOffice.class);
			 * 
			 * to.test();
			 */

			KernelEngine.Instance.shutdown();
		} catch (Throwable t) {
			log.error("Unexpected error", t);
		}
	}

}
